from pydantic import BaseModel
from typing import Optional

class ElectricPriceCategoryCreate(BaseModel):
    category_name: str

class ElectricPriceCategoryUpdate(BaseModel):
    category_name: str

class ElectricPriceCategoryOut(BaseModel):
    category_id: int
    category_name: str

    class Config:
        orm_mode = True
